﻿namespace HashFoo.Core
{
    /// <summary>
    /// Enumeration base class for an interger value based enumeration.
    /// </summary>
    /// <typeparam name="TEnum">The inherited enumeration type</typeparam>
    /// <seealso cref="EnumerationBase{TEnum,TValue}"/>
    public abstract class Enumeration<TEnum> : EnumerationBase<TEnum, int>
        where TEnum : EnumerationBase<TEnum, int>
    {
        /// <summary>
        /// Creates an enumeration instance with an int value.
        /// </summary>
        /// <param name="value"></param>
        /// <param name="displayName"></param>
        protected Enumeration(int value, string displayName) : base(value, displayName) {}
    }
}

